package com.ruoyi.psi.inventory.check.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.sql.Timestamp;
import java.util.List;

/**
 * 产品库存盘点表
 * psi_inventory_check
 */
public class InventoryCheck extends BaseEntity {
    /**
     * 库存盘点编号
     */
    @NotNull(message = "库存盘点编号不能为空")
    @ApiModelProperty(value = "库存盘点编号", required = true)
    private String inventoryCheckId;
    /**
     * 仓库编号
     */
    @NotNull(message = "库存盘点编号不能为空")
    @ApiModelProperty(value = "库存盘点编号", required = true)
    private String warehouseId;
    /**
     * 仓库名称
     */
    @Excel(name = "仓库名称")
    private String warehouseName;
    /**
     * 仓库地址
     */
    @Excel(name = "仓库地址")
    private String warehouseAddress;
    /**
     * 盘点负责人编号
     */
    private String staffId;
    /**
     * 盘点负责人名称
     */
    private String staffName;
    /**
     * 盘点状态
     */
    private String checkStatus;
    /**
     * 盘点时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.sql.Timestamp checkTime;
    /**
     * 库存截至时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private java.sql.Timestamp inventoryDeadline;
    /**
     * 备注
     */
    private String remark;

    private List<InventoryCheckList> inventoryCheckLists;

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getInventoryCheckId() {
        return inventoryCheckId;
    }

    public void setInventoryCheckId(String inventoryCheckId) {
        this.inventoryCheckId = inventoryCheckId;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public String getStaffId() {
        return staffId;
    }

    public void setStaffId(String staffId) {
        this.staffId = staffId;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public Timestamp getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(Timestamp checkTime) {
        this.checkTime = checkTime;
    }

    public Timestamp getInventoryDeadline() {
        return inventoryDeadline;
    }

    public void setInventoryDeadline(Timestamp inventoryDeadline) {
        this.inventoryDeadline = inventoryDeadline;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public List<InventoryCheckList> getInventoryCheckLists() {
        return inventoryCheckLists;
    }

    public void setInventoryCheckLists(List<InventoryCheckList> inventoryCheckLists) {
        this.inventoryCheckLists = inventoryCheckLists;
    }
}
